import java.util.Scanner;

public class NGuessNumber {
    Scanner ipt=new Scanner(System.in);
    int guesses[]=new int[4];
    int answers[]=new int[4];

    public void receiveGuesses(){
        for (int i=0;i<4;i++){
            guesses[i]=ipt.nextInt();
        }
    }
    public void generateAnswers(){
        answers[0]=(int) (Math.random()*10+1);
        answers[1]=(int) (Math.random()*10+1);
        answers[2]=(int) (Math.random()*10+1);
        answers[3]=(int) (Math.random()*10+1);

    }
    public void compare(){
        int a=0;
        int b=0;
        for (int i=0;i<4;i++){
            if(guesses[i]==answers[i]){
                a++;
            }
        }
        System.out.println(a+"A"+b+"B");
    }
    public static void main(String[] args) {
        NGuessNumber game=new NGuessNumber();
        game.receiveGuesses();
        for (int i=0;i<4;i++){
            System.out.println(game.guesses[i]);
        }
    }
}

